package com.bangcommunity.bbframe.sdm.web.shiro.session;

import com.bangcommunity.bbframe.sdm.web.exception.RestConf;
import org.apache.shiro.web.servlet.SimpleCookie;
import org.springframework.beans.factory.InitializingBean;

/**
 * @author tanghc
 */
public class SdmSessionIdCookie extends SimpleCookie implements InitializingBean {

    @Override
    public void afterPropertiesSet() throws Exception {
        super.setName(RestConf.sessionIdCookie);
    }
}
